/** When your routing table is too long, you can split it into small modules**/

// import Layout from '@/views/layout/Layout';

// const financeRouter = {
//     path: '/finance',
//     component: Layout,
//     redirect: 'noredirect',
//     name: 'finance',
//     meta: {
//         title: '财务中心',
//         icon: 'chart'
//     },
//     children: [
//         {
//             path: 'payList',
//             component: () => import('@/views/finance/payList'),
//             name: 'payList',
//             meta: { title: '薪资', noCache: true }
//         }, {
//             path: 'returnFeeList',
//             component: () => import('@/views/finance/returnFeeList'),
//             name: 'returnFeeList',
//             meta: { title: '反费', noCache: true }
//         }, {
//             path: 'recommendFeeList',
//             component: () => import('@/views/finance/recommendFeeList'),
//             name: 'recommendFeeList',
//             meta: { title: '推荐费', noCache: true }
//         }
//     ]
// };

const financeRouter = {
    '@/views/finance/payList': () => import('@/views/finance/payList'),
    '@/views/finance/returnFeeList': () => import('@/views/finance/returnFeeList'),
    '@/views/finance/recommendFeeList': () => import('@/views/finance/recommendFeeList'),
    '@/views/finance/policyList': () => import('@/views/finance/policyList'),
    '@/views/finance/policyDetail': () => import('@/views/finance/policyDetail'),
    '@/views/finance/inviteList': () => import('@/views/finance/inviteList'),
    '@/views/finance/inviteFeeRule': () => import('@/views/finance/inviteFeeRule')
};

export default financeRouter;
